const nodemailer = require('nodemailer')

const transport = nodemailer.createTransport({
    service: 'qq',  //  邮箱
    secure: true,    //  安全的发送模式
    auth:{
        user: '594078370@qq.com', //  发件人邮箱
        pass: 'gqzifdwybdbqbbah' //  授权码
    }
});

module.exports = transport